package ooday02;

public class Tchear extends person{
    int tital;
    Tchear(String name,String address,String gender,int age,int tital){
        super(name,address,gender,age);
        this.tital=tital;
    }
    void teache(){
        System.out.println("今年"+age+"的"+name+"老师正在讲课");
    }
}
